option(USE_HECTOR_UAV_MSGS "Use hector_uav_msgs message types" ON)
if(USE_HECTOR_UAV_MSGS)
  add_definitions(-DUSE_HECTOR_UAV_MSGS)
endif(USE_HECTOR_UAV_MSGS)

rosbuild_add_library(hector_pose_estimation_nodelet pose_estimation_nodelet.cpp)
target_link_libraries(hector_pose_estimation_nodelet hector_pose_estimation)

rosbuild_add_library(hector_pose_estimation_node pose_estimation_node.cpp quadrotor_system_model.cpp)
target_link_libraries(hector_pose_estimation_node hector_pose_estimation)

rosbuild_add_executable(pose_estimation main.cpp)
target_link_libraries(pose_estimation hector_pose_estimation_node)
